package com.qinge.blog.service;

import com.github.pagehelper.PageInfo;
import com.qinge.blog.entity.BlogImage;
import com.qinge.blog.vo.paging.PagingReqVO;

import java.util.List;

/**
 * @author QDW
 * @date 2022/05/15 22:53
 * @description BlogImageService service层类
 */
public interface BlogImageService {
    void add(BlogImage... blogImages);

    void addByList(List<BlogImage> blogImages);

    void removeById(String id);

    void removeBatchByIds(List<String> ids);

    void update(BlogImage blogImage);

    void upsert(BlogImage blogImage);

    BlogImage findById(String id);

    List<BlogImage> findByIds(List<String> ids);

    PageInfo<BlogImage> findAll();

    PageInfo<BlogImage> findAll(PagingReqVO<BlogImage> pagingReqVO);

    PageInfo<BlogImage> paging(PagingReqVO<BlogImage> pagingReqVO);
}


